package com.weed.config;

import lombok.Data;

/**
 * 流媒体服务节点
 *
 * @author zhong.wang
 * @date 2024/10/17
 */
@Data
public class MediaServerNode {
    /**
     * zlm服务器唯一id，用于触发hook时区别是哪台服务器,general.mediaServerId
     */
    private String id;

    /**
     * zlm服务器的内网IP
     */
    private String ip;

    /**
     * zlm服务器的http.port
     */
    private Integer httpPort;

    /** zlm服务器的hook.admin_params=secret**/
    private String secret;

    /**
     * Whether enable hook.
     */
    private boolean hookEnabled = true;

    /**
     * The weight of this host.
     */
    private int weight = 100;
}
